﻿/*
Strictly for storing constants & data globally.
*Note: common functions should be in Utilities.js
*/
var UserManagementServiceUrl = 'http://sharepoint2010:8080/WcfService/UserManagement.svc/';
var newsfeedSvcUrl = 'http://sharepoint2010:8080/WcfService/NewsFeed.svc/';
var PhotoAlbumUrl = 'http://sharepoint2010:8080/WcfService/PhotoAlbum.svc/';
//object that stores setInterval ids
var ajaxPollIds =
    {
        notification: null,
        newsfeed: null
    };

//ajax poll interval
var ajaxPollTime =
    {
        notification: 5000,
        newsfeed: 5000
    };